You can configure BGP dynamic peer on a tenant BGP peer.
# efa tenant service bgp peer create --name <peer-name> --tenant <tenant-name> --ipv4-uc-dyn-nbr <switch-ip,vrf-name:listen-range,peer-group-name,listen-limit> --ipv6-uc-dyn-nbr <switch-ip,vrf-name:listen-range,peer-group-name,listen-limit>
Example
# efa tenant service bgp peer create --name bgpservice1 --tenant tenant1 --operation peer-add –ipv4-uc-dyn-nbr 10.24.80.134,red:11::22/127,pg1,20
# efa tenant service bgp peer show =================================================================================== Name : bgpservice1 Tenant : tenant1 State : bs-state-created +--------------+-----+------+---------+----------------+------+-------+------------+------------+ | Device IP | VRF | AFI | SAFI | LISTEN RANGE | Peer | LISTEN| Dev-state | App-state | | | | | | | Group| LIMIT | | | +--------------+-----+------+---------+----------------+------+-------+------------+------------+ | 10.24.80.134 | red | ipv4 | unicast | 11.22.33.44/30 | pg1 | 10 | provisioned| cfg-in-sync| +--------------+-----+------+---------+----------------+------+-------+------------+------------+ | 10.24.80.134 | red | ipv6 | unicast | 11::22/127 | pg1 | 20 | provisioned| cfg-in-sync| +--------------+-----+------+---------+----------------+------+-------+------------+------------+ ===================================================================================
Rack1-Device1# sh run router bgp router bgp local-as 100 neighbor pg1 peer-group neighbor pg1 remote-as 6000 address-family ipv4 unicast ! address-family ipv4 unicast vrf red listen-range 11.22.33.44/30 peer-group pg1 limit 10 ! address-family ipv6 unicast ! address-family ipv6 unicast vrf red listen-range 11::22/127 peer-group pg1 limit 20 ! address-family l2vpn evpn ! !
# efa tenant service bgp peer update --name <peer-name> --tenant <tenant-name> --operation peer-delete --ipv4-uc-dyn-nbr <switch-ip,vrf-name:listen-range,peer-group-name> --ipv6-uc-dyn-nbr <switch-ip,vrf-name:listen-range,peer-group-name>
Example
# efa tenant service bgp peer create --name bgpservice1 --tenant tenant1 --operation peer-delete –ipv4-uc-dyn-nbr 10.24.80.134,red:11::22/127,pg1 # efa tenant service bgp peer show ================================================================================== Name : bgpservice1 Tenant : tenant1 State : bs-state-created +-------------+-----+-----+--------+---------------+-----------+--------+------------+------------+ | Device IP | VRF | AFI | SAFI | LISTEN RANGE | Peer Group| LISTEN | Dev-state | App-state | | | | | | | Group | LIMIT | | | +-------------+-----+-----+--------+---------------+-----------+--------+------------+------------+ | 10.24.80.134| red | ipv4| unicast| 11.22.33.44/30| pg1 | 10 | provisioned| cfg-in-sync| +-------------+-----+-----+--------+---------------+-----------+--------+------------+------------+ ==================================================================================
efa tenant service bgp peer delete –-name <peer-name> --tenant <tenant-name>
Example
# efa tenant service bgp peer delete –name bgpservice1 –tenant tenant1